Code Completion From Abbreviated Input Citation

نویسندگان

  • Sangmok Han
  • David R. Wallace
  • Robert C. Miller
چکیده

Abbreviation Completion is a novel technique to improve the efficiency of code-writing by supporting code completion of multiple keywords based on non-predefined abbreviated input—a different approach from conventional code completion that finds one keyword at a time based on an exact character match. Abbreviated input is expanded into keywords by a Hidden Markov Model learned from a corpus of existing code. The technique does not require the user to memorize abbreviations and provides incremental feedback of the most likely completions. This paper presents the algorithm for abbreviation completion, integrated with a new user interface for multiple-keyword completion. We tested the system by sampling 3000 code lines from open source projects and found that more than 98% of the code lines could be resolved from acronym-like abbreviations. A user study found 30% reduction in time usage and 41% reduction of keystrokes over conventional code completion. Code Completion; Hidden Markov Model; Abbreviation; Multiple Keywords; Code Assistants; Data Mining

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Psychological Skills and Adherence to Rehabilitation After Reconstruction of the Anterior Cruciate Ligament

Objective: To examine the relationship between self-reported use of psychological skills and rehabilitation adherence. Design: Prospective correlational design. Setting: Outpatient physical-therapy clinic specializing in sports medicine. Patients: Fifty-four patients (17 women and 37 men) undergoing rehabilitation after anterior-cruciate-ligament reconstruction. Main Outcome Measures: An abbrev...

متن کامل

Retroactive auditing Citation

Retroactive auditing is a new approach for detecting past intrusions and vulnerability exploits based on security patches. It works by spawning two copies of the code that was patched, one with and one without the patch, and running both of them on the same inputs observed during the system’s original execution. If the resulting outputs differ, an alarm is raised, since the input may have trigg...

متن کامل

On the Two-User SISO-Gaussian and MIMO-Fading MAC with Finite Input Alphabets

Constellation Constrained (CC) capacity regions of two-user SISO Gaussian Multiple Access Channels (GMAC) are computed in this paper for several Non-Orthogonal and Orthogonal Multiple Access schemes (abbreviated as NO-MA and O-MA schemes respectively). For NO-MA schemes, a metric is proposed to compute the angle(s) of rotation between the input alphabets such that the CC capacity regions are ma...

متن کامل

Code Completion with Neural Attention and Pointer Networks

Intelligent code completion has become an essential tool to accelerate modern software development. To facilitate effective code completion for dynamically-typed programming languages, we apply neural language models by learning from large codebases, and investigate the effectiveness of attention mechanism on the code completion task. However, standard neural language models even with attention...

متن کامل

Abbreviated Text Input Using Language Modeling. Abbreviated Text Input Using Language Modeling

We address the problem of improving the efficiency of natural language text input under degraded conditions (for instance, on mobile computing devices or by disabled users), by taking advantage of the informational redundancy in natural language. Previous approaches to this problem have been based on the idea of prediction of the text, but these require the user to take overt action to verify o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010